import request from './request';

// 获取历史聊天用户列表
export const getHisList = () => request.get('/OnlineVideo/chat/getHisList');
// 获取与某个用户的聊天记录
export const getMsgList = (remoteUid: string | number) =>
  request.get(`/OnlineVideo/chat/getMsgList?remoteUid=${remoteUid}`);
// 获取与所有用户的聊天列表，供管理员使用
export const getUserList = () => request.get('/OnlineVideo/chat/getUserList');
